﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DrugStorehouseMIS.DAL.Interface
{
    public interface IStockInBillDAL
    {
      //  IDataReader Select(string StockInNum);

        DataTable Select();

        DataTable Select(string Status);

        DataTable Select(int PageIndex,int PageSize,string StockInTypeName,string StockInNum);

        int Insert(string StockInNum, int StockInTypeNum, DateTime StockInDatetime, int SupplierNum, int DrugNum, DateTime ProductedDatetime, DateTime ExpiryDatetime, float TradePrice, float RetailPrice, float ImportPrice, string BatchNum, int Quantity, float Amount, string CreatedBy, string ApprovalBy, DateTime ApprovalDatetime, string Remark, string Status);

        int Update(string StockInNum, string StockInTypeNum, DateTime StockInDatetime, int SupplierNum, int DrugNum, DateTime ProductedDatetime, DateTime ExpiryDatetime, float TradePrice, float RetailPrice, float ImportPrice, string BatchNum, int Quantity, float Amount, string CreatedBy, string ApprovalBy, DateTime ApprovalDatetime, string Remark, string Status);
        int Delete(string StockInNum);

    }
}
